package com.zhsq.zlc.util;

import com.zhsq.zlc.entity.UserAuthorityEntity;
import com.zhsq.zlc.entity.UserEntity;

import java.io.Serializable;
import java.util.List;

public class SessionInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	private UserEntity user;//用户信息

	private List<UserAuthorityEntity> userAuthority;//用户权限

	private String userAuthorityNavHtml;

	@Override
	public String toString() {
		return "SessionInfo{" +
				"user=" + user +
				", userAuthority=" + userAuthority +
				", userAuthorityNavHtml='" + userAuthorityNavHtml + '\'' +
				'}';
	}


	public UserEntity getUser() {
		return user;
	}

	public void setUser(UserEntity user) {
		this.user = user;
	}

	public List<UserAuthorityEntity> getUserAuthority() {
		return userAuthority;
	}

	public void setUserAuthority(List<UserAuthorityEntity> userAuthority) {
		this.userAuthority = userAuthority;
	}

	public String getUserAuthorityNavHtml() {
		return userAuthorityNavHtml;
	}

	public void setUserAuthorityNavHtml(String userAuthorityNavHtml) {
		this.userAuthorityNavHtml = userAuthorityNavHtml;
	}
}
